<template>
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-heading">激活邮箱</div>

                    <div class="panel-body">
                        请激活您的邮箱:<a v-bind:href="emailTo" target="_blank">{{email}}</a>！
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Email",
        data(){
            return{
                email:'',
                emailTo:''
            }
        },
        mounted(){
            this.emailTo="http://"+this.$route.params.email
            this.email=this.$route.params.email
        }
    }
</script>